home *** CD-ROM | disk | FTP | other *** search
- /*
- * Generated by upf-idl C++ backend (upf ABI version: 2)
- * Do not edit by hand!
- */
-
- #ifndef _UPF_IDL_OPENVIP_IVIDEOTRANSITION_IDL_H_
- #define _UPF_IDL_OPENVIP_IVIDEOTRANSITION_IDL_H_
-
- #include <upf/cxx.h>
-
- #if UPF_ABI_VERSION != 2
- #error "Headers generated for upf ABI different from the one you have installed, please regenerate them."
- #endif
-
-
- #include <upf/coretypes.h>
- #include <upf/IObject.h>
- #include <openvip/IDataFragment.h>
- #include <openvip/IVideoFrame.h>
- namespace openvip
- {
- class IVideoTransition : virtual public ::upf::IObject
- {
- public:
-
- virtual void SetLength(long len) = 0;
- virtual ::upf::Ptr< IVideoFrame > Process(long frame, IVideoFrame* inputA, IVideoFrame* inputB) = 0;
- };
- }
- #include <upf/cxx_ptr.h>
- namespace upf {
- inline void __upf_dispatch__openvip_IVideoTransition_SetLength(::openvip::IVideoTransition *_upf_data, upf_Arguments *_upf_marchalled_args)
- {
- upf::Arguments _upf_args(_upf_marchalled_args);
- long len;
- _upf_args.seek0();
- _upf_args >> len;
- _upf_data->SetLength(len);
- }
-
- inline void __upf_dispatch__openvip_IVideoTransition_Process(::openvip::IVideoTransition *_upf_data, upf_Arguments *_upf_marchalled_args)
- {
- upf::Arguments _upf_args(_upf_marchalled_args);
- long frame;
- ::upf::Ptr< ::openvip::IVideoFrame > inputA;
- ::upf::Ptr< ::openvip::IVideoFrame > inputB;
- _upf_args.seek0();
- _upf_args >> frame;
- _upf_args >> inputA;
- _upf_args >> inputB;
- ::upf::Ptr< ::openvip::IVideoFrame > _upf_retval(_upf_data->Process(frame, inputA, inputB));
- _upf_args.seek0();
- _upf_args << _upf_retval;
- _upf_args.seek0();
- }
-
-
- template<> struct InterfaceTraits< ::openvip::IVideoTransition >
- {
- typedef ::openvip::IVideoTransition value_type;
-
- static void _UPF_CALLING_CONVENTION dispatchFunction(void *obj, upf_MethodID method, upf_Arguments *args)
- {
- ::openvip::IVideoTransition *ptr = static_cast< ::openvip::IVideoTransition* >(obj);
- if (method < (0 + __UPF_UPF_IOBJECT_OPCNT))
- {
- InterfaceTraits< ::upf::IObject >::dispatchFunction(static_cast< ::upf::IObject* >(ptr),
- method - (0), args);
- }
- else
- {
- static void (*functions[])(::openvip::IVideoTransition *, upf_Arguments *) = {
- __upf_dispatch__openvip_IVideoTransition_SetLength,
- __upf_dispatch__openvip_IVideoTransition_Process,
- NULL };
- functions[method - (0 + __UPF_UPF_IOBJECT_OPCNT)](ptr, args);
- }
- }
-
- static const char* name()
- { return "openvip.IVideoTransition"; }
-
- static const IID& iid()
- {
- static IID _iid = {0x31983f06,0x2bd09f3a,0xf57f6825,0x083f14de,1,0};
- return _iid;
- }
-
- static const upf_uint8_t *typereg()
- {
- static const upf_uint8_t desc[] = {
- 0,0,0,206,0,0,24,111,112,101,110,118,105,112,46,73,86,105,100,101,
- 111,84,114,97,110,115,105,116,105,111,110,49,152,63,6,43,208,159,58,245,
- 127,104,37,8,63,20,222,0,1,0,0,0,1,0,11,117,112,102,46,73,
- 79,98,106,101,99,116,0,2,0,9,83,101,116,76,101,110,103,116,104,0,
- 4,118,111,105,100,0,1,0,4,108,111,110,103,0,3,108,101,110,1,0,
- 0,7,80,114,111,99,101,115,115,0,19,111,112,101,110,118,105,112,46,73,
- 86,105,100,101,111,70,114,97,109,101,0,3,0,4,108,111,110,103,0,5,
- 102,114,97,109,101,1,0,0,19,111,112,101,110,118,105,112,46,73,86,105,
- 100,101,111,70,114,97,109,101,0,6,105,110,112,117,116,65,1,0,0,19,
- 111,112,101,110,118,105,112,46,73,86,105,100,101,111,70,114,97,109,101,0,
- 6,105,110,112,117,116,66,1,0,0,0,0,0,155,0,0,11,117,112,102,
- 46,73,79,98,106,101,99,116,129,91,66,15,214,207,225,124,112,91,189,235,
- 231,44,230,242,0,1,0,0,0,0,0,4,0,6,105,110,99,82,101,102,
- 0,4,118,111,105,100,0,0,0,6,100,101,99,82,101,102,0,4,118,111,
- 105,100,0,0,0,14,113,117,101,114,121,73,110,116,101,114,102,97,99,101,
- 0,16,117,112,102,46,73,110,116,101,114,102,97,99,101,80,116,114,0,1,
- 0,7,117,112,102,46,73,73,68,0,12,105,110,116,101,114,102,97,99,101,
- 95,105,100,1,0,0,10,103,101,116,67,108,97,115,115,73,68,0,7,117,
- 112,102,46,67,73,68,0,0,0,0,0,0,10,2,0,7,117,112,102,46,
- 73,73,68,0,0,0,19,2,0,16,117,112,102,46,73,110,116,101,114,102,
- 97,99,101,80,116,114,0,0,0,26,1,0,7,117,112,102,46,67,73,68,
- 2,0,13,117,110,115,105,103,110,101,100,32,108,111,110,103,0,0,2,48,
- 0,0,19,111,112,101,110,118,105,112,46,73,86,105,100,101,111,70,114,97,
- 109,101,124,132,38,40,49,117,66,138,85,67,36,99,98,101,216,67,0,1,
- 0,0,0,1,0,21,111,112,101,110,118,105,112,46,73,68,97,116,97,70,
- 114,97,103,109,101,110,116,0,11,0,6,67,114,101,97,116,101,0,4,118,
- 111,105,100,0,3,0,13,117,110,115,105,103,110,101,100,32,108,111,110,103,
- 0,5,119,105,100,116,104,1,0,0,13,117,110,115,105,103,110,101,100,32,
- 108,111,110,103,0,6,104,101,105,103,104,116,1,0,0,19,111,112,101,110,
- 118,105,112,46,86,105,100,101,111,70,111,114,109,97,116,0,6,102,111,114,
- 109,97,116,1,0,0,8,71,101,116,87,105,100,116,104,0,13,117,110,115,
- 105,103,110,101,100,32,108,111,110,103,0,0,0,9,71,101,116,72,101,105,
- 103,104,116,0,13,117,110,115,105,103,110,101,100,32,108,111,110,103,0,0,
- 0,10,71,101,116,70,111,114,109,97,116,115,0,19,111,112,101,110,118,105,
- 112,46,86,105,100,101,111,70,111,114,109,97,116,0,0,0,7,71,101,116,
- 68,97,116,97,0,18,111,112,101,110,118,105,112,46,80,105,120,101,108,66,
- 117,102,82,79,0,1,0,19,111,112,101,110,118,105,112,46,86,105,100,101,
- 111,70,111,114,109,97,116,0,6,102,111,114,109,97,116,1,0,0,8,71,
- 101,116,87,68,97,116,97,0,18,111,112,101,110,118,105,112,46,80,105,120,
- 101,108,66,117,102,82,87,0,1,0,19,111,112,101,110,118,105,112,46,86,
- 105,100,101,111,70,111,114,109,97,116,0,6,102,111,114,109,97,116,1,0,
- 0,4,76,111,99,107,0,4,118,111,105,100,0,0,0,6,85,110,108,111,
- 99,107,0,4,118,111,105,100,0,0,0,8,73,115,76,111,99,107,101,100,
- 0,7,98,111,111,108,101,97,110,0,0,0,8,71,101,116,87,67,111,112,
- 121,0,19,111,112,101,110,118,105,112,46,73,86,105,100,101,111,70,114,97,
- 109,101,0,1,0,19,111,112,101,110,118,105,112,46,86,105,100,101,111,70,
- 111,114,109,97,116,0,6,102,111,114,109,97,116,1,0,0,8,77,97,107,
- 101,67,111,112,121,0,19,111,112,101,110,118,105,112,46,73,86,105,100,101,
- 111,70,114,97,109,101,0,1,0,19,111,112,101,110,118,105,112,46,86,105,
- 100,101,111,70,111,114,109,97,116,0,6,102,111,114,109,97,116,1,0,0,
- 0,0,0,62,0,0,21,111,112,101,110,118,105,112,46,73,68,97,116,97,
- 70,114,97,103,109,101,110,116,176,174,237,235,90,202,68,174,144,162,3,200,
- 168,195,7,36,0,1,0,0,0,1,0,11,117,112,102,46,73,79,98,106,
- 101,99,116,0,0,0,0,0,0,38,1,0,19,111,112,101,110,118,105,112,
- 46,86,105,100,101,111,70,111,114,109,97,116,2,0,13,117,110,115,105,103,
- 110,101,100,32,108,111,110,103,0,0,0,21,2,0,18,111,112,101,110,118,
- 105,112,46,80,105,120,101,108,66,117,102,82,79,0,0,0,21,2,0,18,
- 111,112,101,110,118,105,112,46,80,105,120,101,108,66,117,102,82,87,0,0,
- 0,0 };
- return desc;
- }
-
- static bool query(value_type *instance, MultiPurposeHookArgs *data)
- {
- if (data->mode == _UPF_HOOK_MODE_QUERY_INTERFACE)
- {
- if (upf::checkIID(*(data->u.qi.iid), iid()))
- {
- data->u.qi.retval.data = instance;
- data->u.qi.retval.function = dispatchFunction;
- return true;
- }
- }
- else if (data->mode == _UPF_HOOK_MODE_INIT_CLASSINFO)
- {
- upf_middleware->funcs.merge_typeinfo(typereg());
- data->u.ici.ciWrapper->addInterface(iid());
- }
- if (InterfaceTraits< ::upf::IObject >::query(instance, data)) return true;
- return false;
- }
- };
-
- template<class Base, int Offset>
- class _ProxyCode_OPENVIP_IVIDEOTRANSITION : public _ProxyCode_UPF_IOBJECT< Base, 0 >
- {
- virtual void SetLength(long len)
- {
- ArgumentsOwned _upf_args;
- _upf_args << len;
- m_dispatch.function(m_dispatch.data, Offset+0+0+__UPF_UPF_IOBJECT_OPCNT, _upf_args.getMarchalled());
- }
- virtual ::upf::Ptr< ::openvip::IVideoFrame > Process(long frame, ::openvip::IVideoFrame* inputA, ::openvip::IVideoFrame* inputB)
- {
- ArgumentsOwned _upf_args;
- _upf_args << frame;
- _upf_args << inputA;
- _upf_args << inputB;
- m_dispatch.function(m_dispatch.data, Offset+1+0+__UPF_UPF_IOBJECT_OPCNT, _upf_args.getMarchalled());
- ::upf::Ptr< ::openvip::IVideoFrame > _upf_retval;
- _upf_args >> _upf_retval;
- return _upf_retval;
- }
- };
- #define __UPF_OPENVIP_IVIDEOTRANSITION_OPCNT ((0+__UPF_UPF_IOBJECT_OPCNT)+(2))
- template<> class Proxy< ::openvip::IVideoTransition > :
- public _ProxyCode_OPENVIP_IVIDEOTRANSITION< _ProxyBase< ::openvip::IVideoTransition >, 0 >
- {
- public:
- Proxy(upf_Object *object, const upf_InterfaceData& dispatch)
- {
- init_proxy(object, dispatch);
- }
- virtual ~Proxy() {}
- };
-
- } // namespace upf
-
- #endif
-